<%@ page language="java" import="java.util.*,com.tjsinfo.tjsoa.worksummary.vo.*" pageEncoding="UTF-8"%>
<%@page import="com.tjsinfo.tjsoa.worksummary.vo.WorkSummaryExamine"%>
<%@page import="com.tjsinfo.tjsoa.system.vo.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
	+ request.getServerName() + ":" + request.getServerPort()
	+ path + "/";
	//List<WorkSummaryMain> infos=(List)request.getAttribute("openList");
	WorkSummaryMain wsm = (WorkSummaryMain) request.getAttribute("workSummaryMain");
	//List<WorkSummaryExamine> infos2=(List)request.getAttribute("examList");
	//WorkSummaryExamine wse = (WorkSummaryExamine) infos2.get(0);
	List user = (List)request.getAttribute("user");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	  <base href="<%=basePath%>">
	<head>
		<title>粮油集团办公自动化协作平台</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	    <link href="<%=basePath%>style/txlz7.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<%=basePath%>js/ieverson.js"></script>
		<script type="text/javascript" src="<%=basePath%>FCKeditor/fckeditor.js"></script>
		<script type="text/javascript">
			function back()
			{
				history.back(-1);
			}
		</script>
	</head>

	<body>
	<div style="height:97%">
		
			<div id="rightindex">
				<div id="tab" style="width:98%">
					<!--导航开始处-->
					<div id="indextit">
						<img src="images/dkgzzjicon.gif" />
					</div>
					<div id="index_main">
					</div>
					<div class="draft_tab01">
						<table width="100%" border="0" cellspacing="0">
							<tr>
								<td width="15%" align="left">
									工作总结汇报时间
								</td>
								<td width="85%">
									<%=wsm.getTimes() %>
								</td>
							</tr>
							<tr>
								<td align="left">
									工作总结的标题
								</td>
								<td>
									<%=wsm.getSubject() %>
								</td>
							</tr>
							
							<tr>
									<td align="center" colspan="2">
									<table width="99%" border="0" cellspacing="0" cellpadding="0"
										class="texttab">
										<tr>
											<td align="center" width="99%">
											<textarea name="contest" id="contest"
													style="width: 100%; height: 30px;"><%=wsm.getContent() %></textarea>
												<script type="text/javascript">
													
													var oFCKeditor = new FCKeditor( 'contest' ) ;
													oFCKeditor.BasePath = 'FCKeditor/' ;
													oFCKeditor.ToolbarSet = 'Default' ;
													oFCKeditor.Width = '98%' ;
													oFCKeditor.Height = '350' ;
													oFCKeditor.Value = '' ;
													oFCKeditor.ReplaceTextarea();
													
						                         </script>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td colspan="2">
									<div align="center">
										<%
											if((Integer)request.getAttribute("start") == 1)
											{
										%>
											<a href="<%=basePath %>tjsinfo/tjsoa/worksummary/workSummaryList.do?start=1"><img src="images/fanhui.gif" width="71"
												height="21" />
											</a>
										<% 		
											}
											else if((Integer)request.getAttribute("start") == 2)
											{
										%>
											<a href="<%=basePath %>tjsinfo/tjsoa/worksummary/workSummaryList.do?start=2"><img src="images/fanhui.gif" width="71"
												height="21" />
											</a>
										<%		
											}
										%>
										
									</div>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		
		</div>
	</body>
</html>
